package cn.foo.service.impl;

import cn.foo.dao.UserDao;
import cn.foo.pojo.User;
import cn.foo.service.UserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * @author Frank
 * @date 07-06
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserDao,User> implements UserService {
    //@Autowired
    //UserDao userDao;
    //@Override
    //public User login(String userCode, String userPassword) {
    //    User user = userDao.getLoginUser(userCode);
    //    if(user != null && user.getUserPassword().equals(userPassword)){
    //        return user;
    //    }
    //    return null;
    //}
}
